<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <base href="<%=basePath%>">    
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>系统用户新增</title>
 <script type="text/javascript">
    function check(){
    	   var name = document.getElementById("name").value;
    	   var password = document.getElementById("password").value;
    	   if(name ==  null || name == ''){
    	        alert("用户名不能为空");
    	        return false;
    	   }
    	   if(password ==  null || password == ''){
    	        alert("密码不能为空");
    	        return false;
    	   }
    	   return true;
    	}
    
    
    </script>
</head>
<body style="height: 100%">
 <body style="height: 100%">    
    <form id="addSysUser" action="sysUser/addSysUser" method="post" onsubmit="return check()">     
     		             用户名: <input type="text" id="userName" name="userName" /><br/>     
     		            登录名: <input type="text" id="loginName" name="loginName" /><br/>     
      			 登录密码: <input type="password" id="passWord" name="passWord" /><br/>    
        <input type="submit" value="添加新用户"/>     
    </form>    
  </body>  
</body>
</html>